From: Domas Mituzas Date: Sat, 12 Nov 2005 15:34:07 +0000 (+0000) Subject: do not join revision for pages not touched, saves some cpu and i/o X-Git-Tag: 1.6.0~1194 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=a360518cfbda4a30bac82f994f36cefbae93f692;p=lhc%2Fweb%2Fwiklou.git do not join revision for pages not touched, saves some cpu and i/o --- diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index fbb745b79b..8c5e98930a 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -72,7 +72,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) { rev_user_text,rev_timestamp,rev_minor_edit, page_is_new FROM $categorylinks, $revision, $page - WHERE rev_timestamp > '{$cutoff}' + WHERE rev_timestamp > '{$cutoff}' AND page_timestamp > '{$cutoff}' {$cmq} AND rev_page=page_id AND cl_from=page_id